package rest

import (
	"github.com/gorilla/mux"

	"github.com/cosmos/cosmos-sdk/client/context"
)

func registerTxRoutes(cliCtx context.CLIContext, r *mux.Router) {
	// r.HandleFunc(
	// // TODO: Define the Rest route ,
	// // Call the function which should be executed for this route),
	// ).Methods("POST")
}

// // Action TX body
// type <Action>Req struct {
// 	BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
// 	// TODO: Define more types if needed
// }

// func <Action>RequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc {
// 	return func(w http.ResponseWriter, r *http.Request) {
// 		var req <Action>Req
// 		vars := mux.Vars(r)

// 		baseReq := req.BaseReq.Sanitize()
// 		if !baseReq.ValidateBasic(w) {
// 			return
// 		}

// 		// TODO: Define the module tx logic for this action

// 		utils.WriteGenerateStdTxResponse(w, cliCtx, BaseReq, []sdk.Msg{msg})
// 	}
// }
